| commit | a4f9275221cb571b1c285a25b989ee43d8b37df0 | [log] [tgz] |
|---|---|---|
| author | Himanshu Arora <hmarora@google.com> | Wed Dec 18 12:40:54 2024 +0000 |
| committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Mon Jan 13 11:45:47 2025 -0800 |
| tree | 90b4891963edeb78850ef358ccee3398591f87be | |
| parent | 6078a82a97e3d4296b8e0d87ef0fc1a2462f477b [diff] |
Ensure ownership validation in downloadprovider insert method Earlier, apps could access any file in Downloads by invoking the insert method in Downloadprovider. Now, it includes a check to ensure no existing record is present in Mediaprovider. If a record exists, the method validates the ownerPackageName before proceeding with the insert operation Bug: 304497167 Test: manual Flag: EXEMPT, fix only (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:bf66a79ddcd8d93f502bf908621469893f513780) Merged-In: I8b2d24974cdf3ae8a9e5680c22cf422bce396940 Change-Id: I8b2d24974cdf3ae8a9e5680c22cf422bce396940